package com.syni.mdd.sjb.tool.controller.api;

import com.syni.mdd.sjb.tool.entity.vo.requestVo.UserBindWxVo;
import com.syni.mdd.sjb.tool.service.DxshAppUserInfoService;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@RequestMapping("/apiUser")
public class UserRestCommonController {

    @Autowired
    DxshAppUserInfoService dxshAppUserInfoService;


    @PostMapping("/appBindWx")
    @ApiOperation(value = "绑定微信")
    public Map<String,Object> appBindWx(@RequestBody UserBindWxVo userBindWxVo){
        return dxshAppUserInfoService.appBindWx(userBindWxVo);
    }
}
